X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fdictionary%2Fsort-variables.at;fp=tests%2Flanguage%2Fdictionary%2Fsort-variables.at;h=92b9ccb3b3e2657c608f226741a334f913811990;hb=585256ed385f22013e5a6302166ba2a056bd2aa8;hp=0000000000000000000000000000000000000000;hpb=97cbae3cb75b5ee79bf53dc192de4b9b91ae53ea;p=pspp diff --git a/tests/language/dictionary/sort-variables.at b/tests/language/dictionary/sort-variables.at new file mode 100644 index 0000000000..92b9ccb3b3 --- /dev/null +++ b/tests/language/dictionary/sort-variables.at @@ -0,0 +1,60 @@ +AT_BANNER([SORT VARIABLES]) + +AT_SETUP([SORT VARIABLES]) +# This reverses the order of its input lines. +# From the GNU sed manual. +tac () { + sed -n '1! G +$ p +h' +} + +test_sort () { + cat > sort-variables.sps <