diff options
Diffstat (limited to 'test/lib/completions/modinfo.exp')
-rw-r--r-- | test/lib/completions/modinfo.exp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/test/lib/completions/modinfo.exp b/test/lib/completions/modinfo.exp deleted file mode 100644 index 90e9702a..00000000 --- a/test/lib/completions/modinfo.exp +++ /dev/null @@ -1,38 +0,0 @@ -proc setup {} { - save_env -} - - -proc teardown {} { - assert_env_unmodified -} - - -setup - - -set uname [exec bash -c "uname -r"] -if {[assert_exec "ls /lib/modules/$uname" "" "" "unsupported"]} { - set test "in<TAB> should complete modulename" - assert_complete_any "modinfo in" $test -} - - -sync_after_int - - -set test "should not complete anything for non-existent kernel" -assert_no_complete "modinfo -k you-dont-have-such-kernel in" $test - - -sync_after_int - - -set test "should complete filepaths" -assert_complete "/tmp/" "modinfo /tm" $test -nospace - - -sync_after_int - - -teardown |